<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>部门列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<import type="js" file="js.jquery" />
<import type="js" file="js.common" />

<style type="text/css">
	body{
		color: #333333;
	    font: 12px "宋体",Verdana,Arial,Helvetica,sans-serif;
		border: 1px solid #E0E0E0;		
	}
	ul{
		list-style: none outside none;
		margin-left:-20px;
	}
	li{
		margin: 7px 0;
	}
	a{
		text-decoration: none;
		color: #393939;;
	}
	.list_name a:hover{
		background-color:#3CC4A9;
	}
</style>
</head>
<body>
<div class="search"><img src="__PUBLIC__/images/add.gif" align="absmiddle"><input type="button"  value="新建表单" class="button" onClick="add();" title="新建表单"></div>
<div>
	<img src="__PUBLIC__/images/green_arrow.gif" WIDTH="20" HEIGHT="18"> OA办公自动化应用系统
</div>
<php>if(!empty($data)){</php>
<div>
  <ul>
  <volist name="data" id="vo" >
	  <li style="margin-top:10px;"><img src="__PUBLIC__/images/tree2.jpg" /><a href="javascript:;" class="list_name" id="group_{$vo.sort_id}" onclick="clickMenu({$vo.sort_id})"><b>{$vo.sort_name}</b></a></li>
	  <ul>
	  	<volist name="vo.one" id="vo1" >
	  	  <li><a href="javascript:;" class="list_name" id="group_{$vo.sort_id}" onclick="view_group(this,{$vo.sort_id},{$vo1.form_id})">{$vo1.form_name}</a></li>
	  	</volist>
	  </ul>
  </volist>
  </ul>
<php>}</php>
</div>
</body>
<script type="text/javascript">
function add(){
	parent.flow_main.location='__APP__/WorkFlowSys/flow_form_add';
}
function view_group(theRow,group_id,form_id)
{
	parent.flow_main.location="__APP__/WorkFlowSys/flow_form_edit?form_id="+form_id;
}
function clickMenu(sort_id){
	parent.flow_main.location="__APP__/WorkFlowSys/flow_form_sort_list?sort_id="+sort_id;
}
function refresh()
{
	//location.reload();
}
</script>
</html>
